package utils;

import play.Play;

public class ContextUtil {

    public static String getProperty(String key){
        return Play.configuration.getProperty(key);
    }
    
    public static String getProperty(String key,String defaultValue){
        return Play.configuration.getProperty(key, defaultValue);
    }
    
    public static boolean contains(Object value){
        return Play.configuration.contains(value);
    }
    
    public static boolean containsKey(Object key){
        return Play.configuration.containsKey(key);
    }
    
    public static boolean containsValue(Object value){
        return Play.configuration.containsValue(value);
    }
}
